<?php


class NnnForm extends CFormModel
{
	public $id;
	public $name;

	private $_identity;

	/**
	 * Declares the validation rules.
	 * The rules state that username and password are required,
	 * and password needs to be authenticated.
	 */
	public function rules()
	{
		return array(
				array('id, name', 'required'),
				array('id', 'numerical',  'integerOnly' => true)
		);
	}

	/**
	 * Declares attribute labels.
	 */
	public function attributeLabels()
	{
		return array(
				'id'=>'IDD',
				'name'=>'NAMEE'
		);
	}
}